<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title>vue02</title>
		<script src="https://cdn.jsdelivr.net/npm/vue/dist/vue.js"></script>
	</head>
	<body>
		<div id="app">
			<span > Message: {{msg}}</span> <br /> <br />
			<span v-once> 这个将不会改变： {{msg}}</span><br /> <br />
			<p v-text="msg"></p>
			<p v-html="msg"></p>
		</div>
		<script type="text/javascript">
			new Vue({
				el: '#app',
				data: {
					msg: '<i>Hello Vue</i>'
				}

			});
		</script>
	</body>
</html>
